package com.usian.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.entity.ResultResponse;
import com.usian.model.address.Address;
import com.usian.model.goods.Goods;
import com.usian.model.orders.Orders;
import com.usian.vo.OrderIdVo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author author
 * @since 2024-12-17
 */
public interface IOrderService extends IService<Orders> {


    List<Orders> findAll();

    ResultResponse orderAdd(Integer id, Goods goods, Address address, Integer number);

    ResultResponse orderAddGuan(Integer id, Goods goods, Address address, Integer number);

    ResultResponse findOrdersByOrderId(String findId);

    ResultResponse orderAdd02(Orders orders);


    Orders findById(Integer id);

    ResultResponse removeOrder(String findId);

    ResultResponse confirmReceipt(String findId);


    Object status(Integer id);
}
